package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 87111
 * Date: 2025-06-21
 * Time: 20:51
 */
public class Test {
    public static void works(Employee employee) {
        employee.work();
    }
    public static void main(String[] args) {
        Manager manager = new Manager("张三",18,5000,2000);
        works(manager);
    }
}
